package com.cjzuji.rental.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.Date;


/**
 * @author bag
 * @version V1.0
 * @date 2025/6/13 9:41
 * @since 1.0
 */
@Data
@Accessors(chain = true)  //链式调用 可以连续调用setter方法而不需要每次都创建新的对象实例
@TableName("bill_data")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BillData {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @TableField(value = "phone_brand")
    private String phoneBrand;

    @TableField(value = "product_type")
    private String productType;

    @TableField(value = "suk")
    private String suk;

    //retalday
    @TableField(value = "rental_day")
    private String rentalDay;

    //day_amount
    @TableField(value = "day_amount")
    private double dayAmount;

    //month_amount
    @TableField(value = "month_amount")
    private double monthAmount;

    //sum_amount
    @TableField(value = "sum_amount")
    private double sumAmount;

    //credit
    @TableField(value = "credit")
    private double credit;

    //pay_amount
    @TableField(value = "pay_amount")
    private double payAmount;

    //order_sumamount
    @TableField(value = "order_sumamount")
    private double orderSumamount;

    //discouont_amount
    @TableField(value = "discouont_amount")
    private double discouontAmount;

    //buyout_amount
    @TableField(value = "buyout_amount")
    private double buyoutAmount;

    //fill_amount
    @TableField(value = "fill_amount")
    private String fillAmount;

    //installment
    @TableField(value = "installment")
    private String installment;

    //weekment
    @TableField(value = "weekment")
    private String weekment;

    //joinactity_massage
    @TableField(value = "joinactity_massage")
    private String joinactityMassage;

    //add_amount
    @TableField(value = "add_amount")
    private double addAmount;

    //out_amount
    @TableField(value = "out_amount")
    private String outAmount;

    //screen_insurance
    @TableField(value = "screen_insurance")
    private String screenInsurance;

    //purchase_price
    @TableField(value = "purchase_price")
    private String purchasePrice;

    //legal_reamount
    @TableField(value = "legal_reamount")
    private String legalReamount;






}
